package org.jeecg.modules.scm.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 融资申请银行审批实体类
 * @author prb
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="银行审批实体类", description="BankReviewDto")
public class BankReviewDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**申请号*/
    @ApiModelProperty(value = "申请号")
    private Integer applyNo;

    /**金额*/
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    /**币种*/
    @ApiModelProperty(value = "币种")
    private String finaCurrency;
    /**
     * 金额、币种、利率、贷款开始日、贷款到期日，还款方式
     *
     */

    /**利率*/
    @ApiModelProperty(value = "利率")
    private String rate;

    /**贷款开始日*/
    @ApiModelProperty(value = "贷款开始日")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date loanStartDate;

    /**贷款到期日*/
    @ApiModelProperty(value = "贷款到期日")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date loanEndDate;

    /**还款方式*/
    @ApiModelProperty(value = "还款方式")
    private String repaymentWay;




}
